package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.UserTreasureBoxPurchases;

/**
 * 宝箱购买信息Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-17
 */
public interface UserTreasureBoxPurchasesMapper 
{
    /**
     * 查询宝箱购买信息
     * 
     * @param purchaseId 宝箱购买信息主键
     * @return 宝箱购买信息
     */
    public UserTreasureBoxPurchases selectUserTreasureBoxPurchasesByPurchaseId(Long purchaseId);

    /**
     * 查询宝箱购买信息列表
     * 
     * @param userTreasureBoxPurchases 宝箱购买信息
     * @return 宝箱购买信息集合
     */
    public List<UserTreasureBoxPurchases> selectUserTreasureBoxPurchasesList(UserTreasureBoxPurchases userTreasureBoxPurchases);

    /**
     * 新增宝箱购买信息
     * 
     * @param userTreasureBoxPurchases 宝箱购买信息
     * @return 结果
     */
    public int insertUserTreasureBoxPurchases(UserTreasureBoxPurchases userTreasureBoxPurchases);

    /**
     * 修改宝箱购买信息
     * 
     * @param userTreasureBoxPurchases 宝箱购买信息
     * @return 结果
     */
    public int updateUserTreasureBoxPurchases(UserTreasureBoxPurchases userTreasureBoxPurchases);

    /**
     * 删除宝箱购买信息
     * 
     * @param purchaseId 宝箱购买信息主键
     * @return 结果
     */
    public int deleteUserTreasureBoxPurchasesByPurchaseId(Long purchaseId);

    /**
     * 批量删除宝箱购买信息
     * 
     * @param purchaseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUserTreasureBoxPurchasesByPurchaseIds(Long[] purchaseIds);
}
